<!doctype html>
<html>
<head>
    <include file="Public/head"/>
    <link href="__CSS__/main.css" rel="stylesheet" type="text/css" />
    <link href="__CSS__/index.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="__JS__/jquery.js"></script>
    <script type="text/javascript" src="__JS__/jquery.inputbox.js"></script>
    <script type="text/javascript">
        $(function(){

            $('div[name="city"]').inputbox({
                height:24,
                width:100
            });

            $('.cbt').inputbox();

            $('[name="rbt"], [name="rbt2"]').inputbox();

        });
    </script>
</head>
<body>
<form id="form" action="{:U('Address/edit')}" method="post">

    <div class="head">
        <li>收货人<input type="text" name="name" placeholder="姓名" value="{$info.name}" onFocus="if(value==defaultValue){this.style.color='#0b0b0b'}" onBlur="if(!value){this.style.color='#6f6f6f'}" style="color:#999999"/></li>
        <li>联系电话<input type="text" name="mobile" value="{$info.mobile}" placeholder="请输入电话号" onFocus="if(value==defaultValue){value='';this.style.color='#0b0b0b'}" onBlur="if(!value){value=defaultValue;this.style.color='#6f6f6f'}" style="color:#999999"/></li>

        <!--<a href=""><li class="right-bg1">所在地<input type="text" value="请选择"  style="color:#6f6f6f"/></li></a>-->
        <!--<a href=""><li class="right-bg1">街道<input type="text" value="请选择"  style="color:#6f6f6f"/></li></a>-->
        <textarea name="address"  placeholder="请填写详细地址" style="color:#6f6f6f; width:96%; margin-left:2%; height:50px; line-height:26px; font-size:16px;"/>{$info.address}</textarea>
    </div>
    <div class="head">

        <p>设为默认地址</p>
        <div class="cbt margin-top" name="check" type="checkbox" val="5"></div>
    </div>

    <a href="javascript:submit();" class="address-btn">保存</a>
</form>
<script>
    function submit(){
        $("#form").submit();
    }
</script>

</body>
</html>
